package com.nf.teamwork.mall.service.impl;

import com.nf.teamwork.mall.dao.HotSellPicDao;
import com.nf.teamwork.mall.entity.HotSellPic;
import com.nf.teamwork.mall.service.HotSellPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LJP
 * @Classname HotSellPicServiceImpl
 * @Date: 2020-02-27 13:53
 * @Description: 热销图片表service层
 */
@Service
public class HotSellPicServiceImpl implements HotSellPicService {
    @Autowired
    private HotSellPicDao hotSellPicDao;
    @Override
    public List<HotSellPic> findAll() {
        return hotSellPicDao.findAll();
    }
}
